package routing;

import java.util.ArrayList;
import java.util.HashSet;

public class Segment {
	
	private int id; 
	private ArrayList<Node>nodes = new ArrayList<Node>();
	private ArrayList<Landmark>landmarks = new ArrayList<Landmark>();
	private HashSet<Integer>closeLandmarkIds = new HashSet<Integer>(); 
	private boolean checked = false; 
	
	
	
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public ArrayList<Node> getNodes() {
		return nodes;
	}

	public void setNodes(ArrayList<Node> nodes) {
		this.nodes = nodes;
	}
	
	public void addNode(Node node) {
		nodes.add(node);
	}

	public ArrayList<Landmark> getLandmarks() {
		return landmarks;
	}

	public void setLandmarks(ArrayList<Landmark> landmarks) {
		this.landmarks = landmarks;
	}
	
	public void addLandmark(Landmark landmark) {
		landmarks.add(landmark); 
	}

	public HashSet<Integer> getCloseLandmarkIds() {
		return closeLandmarkIds;
	}

	public void setCloseLandmarkIds(HashSet<Integer> closeLandmarkIds) {
		this.closeLandmarkIds = closeLandmarkIds;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	



}
